package com.example.botany_api.bean;

/**
 * @Author 漫画忧作
 * @Date 2022/10/29 23:22
 * @Version 1.0
 */
//轮播图
public class Carousel {
    private int id;
    private String img_url;
    private String time;

    public Carousel() {
    }

    public int getId() {
        return id;
    }

    @Override
    public String toString() {
        return "Carousel{" +
                "id=" + id +
                ", img_url='" + img_url + '\'' +
                ", time='" + time + '\'' +
                '}';
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImg_url() {
        return img_url;
    }

    public void setImg_url(String img_url) {
        this.img_url = img_url;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Carousel(String img_url, String time) {
        this.img_url = img_url;
        this.time = time;
    }

    public Carousel(int id, String img_url, String time) {
        this.id = id;
        this.img_url = img_url;
        this.time = time;
    }
}
